package kr.hkit.powerjava.chapter09;

public class StaticTest {
	
	public static final int I = 10;
	public static final int s;
	
	static{
		System.out.println("static 영역");
		s = 0;
	}
	
	public StaticTest() {
		System.out.println("생성자");;
	}	
	
	public static void main(String[] args) {
		StaticTest st = new StaticTest();
		add(10,20);
		System.out.println(StaticTest.I);
		System.out.println(StaticTest.s);
	}
	
	static int add(int a, int b){
		return a+b;
	}
}
